function main(defaultParams) {

    // 停止公示
    const self = this; // 重置作用域
    self.$$confirm({
        content: "确认删除当前摊位？",
        type: "info",  // danger info warning
        headerTitle: "警告", //确认框头部标题 提示、警告、告警
        showOkBtn: true, // 是否展示确认按钮
        showCancelBtn: true, // 是否展示取消按钮
        cancelText: "取消", //取消按钮 展示文字
        okText: "确定",  //确认按钮 展示文字
        onOk: () => {

            api.EXEC_FORMULA("UPDATE('ds_tbl:t_18c4c95916cf4ef2ab6725cd4d9bd800', QUERY_EQ('stall_id', " + defaultParams['667bff48-5804-4946-aeac-f91a40400dda'] + "), '', ['delete_flag', 1])").then((res) => {
                // then() 为调用成功的回调
                let treePanel = this.$$("tree_panel_eh3nya");
                if (treePanel) {
                    let treeSelectKey = treePanel.$$getSelection().selectedKeys[0];
                    treePanel.$$clickNode({ key: treeSelectKey });
                }

            }).catch(err => {
                self.$message.error(err.message); // 显示错误提示信息
            });
        },
        onCancel: () => {
            return
        }
    });
}



